package com.ndp.fb.walle.business;

import com.ndp.fb.enums.ErrorType;
import com.ndp.fb.exception.CheckedException;
import com.ndp.fb.rdb.model.EcFont;
import com.ndp.fb.rdb.model.Pager;
import com.ndp.fb.rdb.model.User;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * Created by infi.he on 2016/4/26.
 */
public interface EcFontSercie {
    Pager<EcFont> findPager(Long orgId,Integer cpage, Integer psize);

    EcFont findByFontName(Long orgId, String fontName);

    List<EcFont> getByTemplateId(Long templateId);

    void uploadFont(List<MultipartFile> fileList, String contextPath, String fontName, String fontWeight, User user)throws Exception;
}
